<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : EditPayoff
    Created on : 2008-12-5, 14:10:39
    Author     : Peter
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page id="page1">
            <webuijsf:html id="html1">
                <webuijsf:head id="head1">
                    <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body id="body1" style="-rave-layout: grid">
                    <webuijsf:form binding="#{EditPayoff.formPayoff}" id="formPayoff" virtualFormsConfig="save | tablePayoff:tableRowGroup1:tableColumn2:dropDown1 tablePayoff:tableRowGroup1:tableColumn3:dropDown2 tablePayoff:tableRowGroup1:tableColumn6:checkbox1 tablePayoff:tableRowGroup1:tableColumn4:textField1 tablePayoff:tableRowGroup1:tableColumn7:checkbox2 tablePayoff:tableRowGroup1:tableColumn5:textField2 tablePayoff:tableRowGroupPayoff:tableColumn5:textField2 tablePayoff:tableRowGroupPayoff:tableColumn7:checkbox2 tablePayoff:tableRowGroupPayoff:tableColumn4:textField1 tablePayoff:tableRowGroupPayoff:tableColumn6:checkbox1 tablePayoff:tableRowGroupPayoff:tableColumn3:dropDown2 tablePayoff:tableRowGroupPayoff:tableColumn2:dropDown1 | buttonSave">
                        <webuijsf:table augmentTitle="false" id="tablePayoff" style="left: 24px; top: 144px; position: absolute; width: 1200px" title="收益库编辑" width="936">
                            <webuijsf:tableRowGroup binding="#{EditPayoff.tableRowGroupPayoff}" id="tableRowGroupPayoff" rows="10"
                                sourceData="#{EditPayoff.payoffDataProvider}" sourceVar="currentRow">
                                <webuijsf:tableColumn headerText="ID" id="tableColumn1" sort="ID">
                                    <webuijsf:staticText id="staticText1" text="#{currentRow.value['ID']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="攻击手段" id="tableColumn2" width="117">
                                    <webuijsf:dropDown id="dropDown1" items="#{SessionBean1.attackActionDataProvider.options['ID,Name']}" selected="#{currentRow.value['Att_Measure']}"/>
                                    <webuijsf:message for="dropDown1" id="message1" showDetail="false" showSummary="true"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="防御手段" id="tableColumn3" width="113">
                                    <webuijsf:dropDown id="dropDown2" items="#{SessionBean1.defActionDataProvider.options['ID,Name']}" selected="#{currentRow.value['Def_Measure']}"/>
                                    <webuijsf:message for="dropDown2" id="message2" showDetail="false" showSummary="true"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="攻击方收益是常数" id="tableColumn6" sort="isAttConstant" width="140">
                                    <webuijsf:checkbox id="checkbox1" selected="#{currentRow.value['isAttConstant']}"/>
                                    <webuijsf:message for="checkbox1" id="message3" showDetail="false" showSummary="true"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="攻击方收益" id="tableColumn4" sort="Att_Payoff" width="161">
                                    <webuijsf:textField id="textField1" text="#{currentRow.value['Att_Payoff']}"/>
                                    <webuijsf:message for="textField1" id="message4" showDetail="false" showSummary="true"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="防御方收益是常数" id="tableColumn7" sort="isDefConstant" width="140">
                                    <webuijsf:checkbox id="checkbox2" selected="#{currentRow.value['isDefConstant']}"/>
                                    <webuijsf:message for="checkbox2" id="message5" showDetail="false" showSummary="true"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="防御方收益" id="tableColumn5" sort="Def_Payoff">
                                    <webuijsf:textField id="textField2" text="#{currentRow.value['Def_Payoff']}"/>
                                    <webuijsf:message for="textField2" id="message6" showDetail="false" showSummary="true"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn id="tableColumn8">
                                    <webuijsf:button actionExpression="#{EditPayoff.buttonDelete_action}" id="buttonDelete" text="删除"/>
                                </webuijsf:tableColumn>
                            </webuijsf:tableRowGroup>
                        </webuijsf:table>
                        <webuijsf:button actionExpression="#{EditPayoff.buttonRevert_action}" id="buttonRevert"
                            style="height: 24px; left: 311px; top: 96px; position: absolute; width: 120px" text="撤销所有未保存更改"/>
                        <webuijsf:button actionExpression="#{EditPayoff.buttonSave_action}" id="buttonSave"
                            style="height: 24px; left: 191px; top: 96px; position: absolute; width: 72px" text="保存更该"/>
                        <webuijsf:button actionExpression="#{EditPayoff.buttonAddAction_action}" id="buttonAddPayoff"
                            style="height: 24px; left: 95px; top: 96px; position: absolute; width: 72px" text="添加收益"/>
                        <webuijsf:hyperlink actionExpression="#{EditPayoff.hyperlinkAction_action}" id="hyperlinkAction"
                            style="left: 504px; top: 96px; position: absolute" text="编辑行为库"/>
                        <webuijsf:messageGroup id="messageGroup1" style="height: 140px; left: 24px; top: 408px; position: absolute; width: 622px"/>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
